using System.Collections.Generic;
using Gameplay.PVE.Data;
using UnityEngine;
namespace Gameplay.PVE.Config
{
    public class PveTriggerChanceFunction
    {
        public static float If(bool condition,float a,float b)
        {
            return condition ? a : b;
        }
        
        public static float GeTriggerChance(int skillId,UnitData unit,int skillLevel)
        {
            switch (skillId)
            {
                case 1062006: 
                    return 1f*0.1f;

                case 1321000: 
                    return 1f*0;

                case 2041000: 
                    return 1f*0;

                case 3009000: 
                    return 1f*0;

                case 3001000: 
                    return 1f*0;

                case 3029000: 
                    return 1f*0;

                case 3022000: 
                    return 1f*10000;

                case 3049000: 
                    return 1f*0;

                case 3041000: 
                    return 1f*0;

                case 3019000: 
                    return 1f*0;

                case 3012000: 
                    return 1f*0;

                case 5011002: 
                    return 1f*0;

                default:
                    return 1;
            }
        }
    
    
    }
}   
    